VindiPaymentGateways\VindiPaymentProcessor D

Total Complexity 206
Dependencies 12
Dependents 1
Total lines 1,334
Lines of code 725
Logical lines of code 434
Comment lines 357
Methods 51
Properties 6

Methods 51

Method Rating Maintainability Complexity Lines of code
process_order()
A
37 12 76
get_cycle_from_product_type()
A
54 12 19
create_subscription()
A
49 9 27
build_product_items()
A
48 8 34
get_plan_from_order_item()
A
57 9 15
build_tax_item()
A
50 8 27
build_shipping_item()
A
50 8 27
get_product()
S
54 7 20
build_product_from_order_item()
S
51 6 26
build_interest_rate_item()
S
51 6 25
build_product_items_for_bill()
S
55 6 20
order_has_trial_and_simple_product()
S
56 6 20
build_sign_up_fee_item()
S
54 6 20
finish_payment()
S
51 5 27
build_product_items_for_subscription()
S
53 5 22
build_discount_item_for_bill()
S
54 5 21
build_discount_item_for_subscription()
S
54 5 20
cancel_if_denied_bill_status()
S
56 5 18
coupon_supports_product()
S
59 5 16
create_payment_profile()
S
60 4 13
create_payment_profile_bank_slip()
S
61 4 12
get_customer()
S
63 4 11
create_bill()
S
54 3 21
process()
S
64 4 10
order_has_trial()
S
63 3 11
cancel_subscriptions_and_order()
S
62 3 11
get_order_type()
S
70 3 6
subscription_has_trial()
S
77 3 3
create_bill_meta_for_order()
S
66 3 8
config_discount_cycles()
S
63 3 10
get_plan_length()
S
67 3 9
installments()
S
65 3 9
check_multiple_subscriptions_of_same_period()
S
66 3 8
get_cc_payment_type()
S
59 2 14
cancel_bills()
S
73 2 5
suspend_subscriptions()
S
73 2 5
__construct()
S
64 2 9
verify_payment_profile()
S
72 2 5
check_trial_and_single_product()
S
66 2 8
abort()
S
67 2 8
payment_method_code()
S
79 2 3
get_vindi_code()
S
67 2 8
get_build_products()
S
71 1 6
create_shipping_product()
S
71 1 6
is_one_time_shipping()
S
78 1 3
is_bank_slip()
S
80 1 3
is_variable()
S
79 1 3
is_subscription_type()
S
79 1 3
is_cc()
S
80 1 3
get_bank_slip_payment_type()
S
72 1 6
get_trial_matching_subscription_item()
S
72 1 5